package com.cashmama.market.api.application.controller.authentication.vos;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: yujianfu (mr.vencnet@gmail.com)
 * Date: 2019-12-20
 * Time: 16:49
 */
public class InputParams implements Serializable {
    private static final long serialVersionUID = -6063118885959983133L;

    private String paramName = "";
    private String param = "";
    private String inputDesc = "";
    private String inputValue = "";
    private String burialPointName = "";
    private Integer paramType = 0;
    private String icon = "";

    private boolean required = true;
    private boolean readonly = false;
    private boolean show = false;
    private String jumpUrl="";

    private List<ParamOptions> paramOptions = new ArrayList<>();

    public String getIcon() {
        return icon;
    }

    public InputParams setIcon(String icon) {
        this.icon = icon;
        return this;
    }

    public String getBurialPointName() {
        return burialPointName;
    }

    public InputParams setBurialPointName(String burialPointName) {
        this.burialPointName = burialPointName;
        return this;
    }

    public InputParams() {
    }

    public String getParamName() {
        return paramName;
    }

    public InputParams setParamName(String paramName) {
        this.paramName = paramName;
        return this;
    }

    public String getParam() {
        return param;
    }

    public InputParams setParam(String param) {
        this.param = param;
        return this;
    }

    public String getInputDesc() {
        return inputDesc;
    }

    public InputParams setInputDesc(String inputDesc) {
        this.inputDesc = inputDesc;
        return this;
    }

    public String getInputValue() {
        return inputValue;
    }

    public InputParams setInputValue(String inputValue) {
        this.inputValue = inputValue;
        return this;
    }

    public Integer getParamType() {
        return paramType;
    }

    public InputParams setParamType(Integer paramType) {
        this.paramType = paramType;
        return this;
    }

    public boolean isRequired() {
        return required;
    }

    public InputParams setRequired(boolean required) {
        this.required = required;
        return this;
    }

    public boolean isReadonly() {
        return readonly;
    }

    public InputParams setReadonly(boolean readonly) {
        this.readonly = readonly;
        return this;
    }

    public boolean isShow() {
        return show;
    }

    public InputParams setShow(boolean show) {
        this.show = show;
        return this;
    }

    public List<ParamOptions> getParamOptions() {
        return paramOptions;
    }

    public InputParams setParamOptions(List<ParamOptions> paramOptions) {
        this.paramOptions = paramOptions;
        return this;
    }
}
